	<div class="position"> <span>您当前的位置：</span> <a href="{url:}"> 首页</a> » 商城公告 </div>
	<div class="wrapper clearfix container_2">
	<div class="sidebar f_l">
		<div class="box m_10">
			<div class="title">热卖商品</div>
			<div class="content">
			  <ul class="ranklist">
				{query:name=commend_goods as commend join=left join goods as go on go.id eq commend.goods_id
					where  = commend_id eq 3 AND go.is_del eq 0 AND go.id is not null
					fields = go.id,go.list_img,go.name,go.sell_price
					limit  = 10
				}
				<li class='current'><a href="{url:/site/products/id/$item[id]}"><img src="{webroot:$item[list_img]}" width="58" height="58" /></a><a href="{url:/site/products/id/$item[id]}">{$item['name']}</a><b>￥{$item['sell_price']}</b></li>
				{/query}
			  </ul>
			</div>
		</div>
	</div>
	<div class="main f_r">
		<div class="box m_10">
			<div class="title2">商城公告</div>
			<div class="cont">
				<h5 class="list_title gray"><span class="f_l">标题</span>发表时间</li></h5>
				<ul class="newslist">
					{set:$page= (isset($_GET['page'])&&(intval($_GET['page'])>0))?intval($_GET['page']):1;}
					{query:name=announcement order=id desc id=$announcement page=$page}
					<li><a class="" href="{url:/site/notice_detail/id/$item[id]}">{$item['title']}</a><span>({$item['time']})</span></li>
					{/query}
				</ul>

				<div class="pages_bar">
					{$announcement->getPageBar()}
				</div>
			</div>
		</div>
	</div>
	</div>
